/*
 * @Author: gyk
 * @Date: 2023-12-08 11:51:54
 * @LastEditors: gyk
 * @LastEditTime: 2023-12-15 16:45:43
 * @FilePath: \gnsk-ui\src\store\getters.js
 * @Description: 
 * 
 */
const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  permissions: state => state.user.permissions,
}
export default getters
